Check if Two Chessboard Squares Have the Same Color